//商品管理-专题排期-专题区商品
App.util.ns('Admin.Goods.JmThemeGoods');
Admin.Goods.JmThemeGoods.CategoryManage = function(dataTable){
    var win = new App.Win({name: 'goods_jmthemeGoods_manage', width: '400px'});
    //列表
    win.dataTable = new App.DataTable({
        baseUrl: '/admin/goods/goods',
        dataUrl: 'newlists',
        table: {
            id: 'id',
            main: 0,
            //showId: false,
            columns: [
                {name: '商品名称', value: function(item){
                    return '/'+(item.goods ? item.goods.name+'/' : '')+item.name;
                }}
            ]
        },
        filter: [
            {type: 'keywords'}
        ],
        floatable: false,
        paginator: false
    });
    win.setContent(win.dataTable.frame);
    win.hide();
    //加载数据
    win.dataTable.loadData();
    return win;
};